<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <link href="__ROOT__/Public/admin/css/style.css" rel="stylesheet">
    <link href="__ROOT__/Public/admin/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="__ROOT__/Public/plugin/editor/themes/default/default.css" />
    <link href="__ROOT__/Public/plugin/select2/select2.css" rel="stylesheet">
    <script charset="utf-8" src="__ROOT__/Public/plugin/editor/kindeditor.js"></script>
    <script charset="utf-8" src="__ROOT__/Public/plugin/editor/lang/zh_CN.js"></script>
    <style>
        #imgList{
            max-width:510px;
        }
        #imgList .imgBox{
            width:160px;
            height:100px;
            position:relative;
            float:left;
            overflow:hidden;
            border:1px solid #ccc;
            margin-right:5px;

        }
        .imgBox img{
            width:156px;
            height:96px;
            margin:2px 2px;
        }
        .close_icon{
            position:absolute;
            cursor:pointer;
            right:0px;
            top:-5px;
            color:#666;
            display:none;
            font-size:14px;
        }
        .borders{
            position:relative;
            width:400px;
            height:20px;
        }
        .borders div,.borders span{
            display:inline-block;
        }
    </style>
    <title>{$title}</title>
</head>
<body>
<div class="breadNav">
    <ul class="breadNavBar">
        <li><i class="icon-home" style="font-size:16px"></i></li>
        <li><a href="javascript:;" onClick="parent.location.reload('/Admin/Index/index');">首页</a></li>
        <li>&gt;</li>
       	<li><a href="#">订单管理</a></li>
        <li>&gt;</li>
    </ul>
</div>
<div style="clear:both;"></div>
<div class="filter">
    <a href="__ROOT__/Admin/QuestionsOrderManage/Order_list" class="btn btn-primary btn-lg" id="backBtn"><i class="icon-reply"></i>&nbsp;返回</a>
</div>
<form id="form" class="from" method="post" action="__ROOT__/Admin/QuestionsOrderManage/add_order">
    <div class="form-group">
        <label class="control-label">选择二级分类:</label>
         <select class="form-control" name="cat_id">
                  <volist name='cat_list' id='vb'>
                   <option value='{$vb.id}'>{$vb.catname}</option>
                  </volist>
         </select>
        <span class="helpBlock"></span>
    </div>

    <div class="form-group" style='width:500px; margin-bottom:50px;'>
        <label class="control-label">输入用户ID:</label>
        <input type="text" id="user_id" name="user_id" class="form-control disBlock" value="" style="width:200px;">
        <button class="btn btn-primary" id="check_userInfo"><i class="icon-search"></i>&nbsp;核对用户信息</button>
    </div>
     <div class="form-group">
        <label class="control-label">&nbsp;</label>
        <input class="btn btn-primary" type='submit' value='添加订单'></button>
    </div>
</form>
</body>
<script src="__ROOT__/Public/js/jquery.min.js?ver=1.8.3"></script>
<script src="__ROOT__/Public/admin/js/main.js"></script>
<script src="__ROOT__/Public/js/vali.js"></script>
<script src="__ROOT__/Public/js/prompt.js"></script>
<script src="__ROOT__/Public/plugin/select2/select2.min.js"></script>
<script>
$('#check_userInfo').click(function() {
	
	  var user_id=$('#user_id').val();
	
	   $.post("__ROOT__/Admin/QuestionsOrderManage/check_userInfo",{userId:user_id},function(data)
			   {
		        alert(data);
				   })
   .error(function() { alert("请求出错"); });		
	 return false;
	  
});
</script>
</html>
